<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="/static/css/css.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/common.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <script src="/static/js/jquery.min.1.8.2.js" type="text/javascript"></script>
    <script src="/static/js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
    <script type="text/javascript" src="/static/js/slider.js"></script>
    <script src="/static/js/common_js.js" type="text/javascript"></script>
    <script src="/static/js/jquery.foucs.js" type="text/javascript"></script>
{#    <script src="http://bdimg.share.baidu.com/static/api//static/js/share.js?v=89860593.js?cdnversion=402727"></script>#}
    <script type="text/javascript" src="/static/js/detail.js"></script>
    <script type="text/javascript" src="/static/js/vue-2.5.16.js"></script>
    <script type="text/javascript" src="/static/js/common.js"></script>
    <script type="text/javascript" src="/static/js/axios-0.18.0.min.js"></script>
    <script type="text/javascript" src="/static/js/host.js"></script>
    <!--[if IE 7]>
    <link rel="stylesheet" href="/static/css/font-awesome-ie7.min.css">
<![endif]-->
    <title>商品详细介绍</title>
</head>

<body>
<div id="app" v-cloak>
<!--顶部样式-->
<div class="top_header">
    <em class="left_img"></em>
    <div class="header clearfix" id="header">
        <a href="#" class="logo_img"><img src="/static/images/logo.png"/></a>
        <div class="header_Section">
            <div class="shortcut">
                <ul>
                    {% if user.is_authenticated %}
                        <li>
                            <a href="{{ url('users:usercenter') }}">{{ user.username }}</a>
                            <span>|</span>
                            <a href="{{ url('users:logout') }}">退出</a>
                        </li>

                    {% else %}

                        <li class="hd_menu_tit"><em class="login_img"></em><a href="{{ url('users:login') }}">登录</a>
                        </li>
                        <li class="hd_menu_tit"><em class="registered_img"></em><a
                                href="{{ url('users:register') }}">注册</a></li>
                    {% endif %}

                    <li class="hd_menu_tit"><em class="Collect_img"></em><a href="#">收藏夹</a></li>
                    <li class="hd_menu_tit"><em class="cart_img"></em><a href="{{ url('shoppingcart:carts') }}">购物车（0）</a></li>
                    <li class="hd_menu_tit list_name" data-addclass="hd_menu_hover"><a href="#">网站导航</a><em
                            class="navigation_img"></em>

                        <div class="hd_menu_list">
                            <span class="wire"></span>
                            <ul>
                                <li><a href="#">常见问题</a></li>
                                <li><a href="#">在线退换货</a></li>
                                <li><a href="#">在线投诉</a></li>
                                <li><a href="#">配送范围</a></li>
                            </ul>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="nav" id="Navigation">
               <ul class="Navigation_name">
                    <li class=""><a href="{{ url('index:index') }}">首页</a></li>
                    <li class=""><a href="#">所有果蔬</a></li>
                    <li class=""><a href="#">活动专区</a></li>
                    <li class=""><a href="{{ url('goods:fruit') }}">水果馆</a></li>
                    <li class=""><a href="{{ url('goods:shucai') }}">素菜馆</a></li>
                    <li class=""><a href="#">会员中心</a></li>
                    <li class=""><a href="#">联系我们</a></li>
                </ul>
            </div>
            <script>$("#Navigation").slide({titCell: ".Navigation_name li"});</script>
        </div>
    </div>
    <em class="right_img"></em>
</div>
<!---->
<div><a href="#"><img src="/static/images/AD_page_img_02.png" width="100%"/></a></div>
<!--位置-->
<div class="Bread_crumbs">
    <div class="Inside_pages clearfix">
        <div class="left">当前位置：<a href="#">首页</a>&gt;<a href="#">蔬菜馆</a></div>
        <div class="right Search">
            <form>
                <input name="" type="text" class="Search_Box"/>
                <input name="" type="button" name="" class="Search_btn"/>
            </form>
        </div>
    </div>
</div>
<!--商品详细介绍-->
<div class="Inside_pages clearfix">
    <div class="left_style">
        <div class="title_img_p"><img src="/static/images/p_vegetables_img.png"/></div>
        <div class="ranking">
            <div class="ranking_title"><span>销量</span>排行</div>
            <ul class="ranking_list">
                {% for hot in hots %}
                    <li  class="">
                        <em class="ranking_label"></em>
                        <a href="{{ url('goods:detail',args=(hot.spu_id,)) }}" class="img"> <img src="{{ hot.default_image }}" width="100px" height="100px"/></a>
                        <p class="ranking_name">{{ hot.name }}</p>
                        <p class="price"><b>￥{{ hot.price }}</b></p>
                        <p><a href="{{ url('goods:detail',args=(hot.spu_id,)) }}">立即查看< </a></p>

                    </li>
                {% endfor %}

            </ul>
        </div>
    </div>
    <!--详细介绍样式-->
    <div class="right_style">
        <div class="pro_detailed">
            {% for good in goods %}
                <div class="Details_style clearfix" id="goodsInfo">
                    <div class="mod_picfold clearfix">
                        <div class="clearfix" id="detail_main_img">
                            <div class="layout_wrap">
                                <img src="{{ good.default_image }}" alt="">
                            </div>
                        </div>
                        <div class="Sharing">
                            <div class="bdsharebuttonbox right">
                                <a href="#" class="bds_more" data-cmd="more"></a>
                                <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
                                <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                                <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
                                <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
                                <a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a>
                            </div>
                            <script>
                                window._bd_share_config = {
                                    "common": {
                                        "bdSnsKey": {},
                                        "bdText": "",
                                        "bdMini": "2",
                                        "bdMiniList": false,
                                        "bdPic": "",
                                        "bdStyle": "1",
                                        "bdSize": "16"
                                    },
                                    "share": {},
                                    "image": {
                                        "viewList": ["qzone", "weixin", "tsina", "tqq", "renren"],
                                        "viewText": "分享到：",
                                        "viewSize": "16"
                                    },
                                    "selectShare": {
                                        "bdContainerClass": null,
                                        "bdSelectMiniList": ["qzone", "weixin", "tsina", "tqq", "renren"]
                                    }
                                };
                                with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api//static/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
                            </script>
                            <!--收藏-->
                            <div class="coding">商品编码：3434534534534534</div>
                        </div>
                    </div>
                    <!--购买信息-->
                    <div class="Buying_info">
                        <div class="product_name"><h2>{{ good.name }}</h2><span>{{ good.caption }}</span></div>
                        <div class="product_price">
                            <div class="price"><label>商城价：</label>￥{{ good.price }} <b>元/箱</b></div>
                            <div class="jyScore-fra"><span><em style="width:60px;"></em></span><b>4.5</b><a
                                    href="#">共有{{ good.comments }}条评论</a></div>
                        </div>
                        <div class="productDL">
                            <dl>
                                <dt>品种：</dt>
                                <dd class="left">
                                    <div class="item  selected"><b></b><a href="#none" title="金晕">{{ good.category.name }}</a></div>
{#                                    <div class="item"><b></b><a href="#none" title="芹川">芹川</a></div>#}
                                </dd>
                            </dl>
{#                            <dl>#}
{#                                <dt>包装：</dt>#}
{#                                <dd class="left">#}
{#                                    <div class="item  selected"><b></b><a href="#none" title="小礼盒">小礼盒</a></div>#}
{#                                    <div class="item"><b></b><a href="#none" title="普通包装">普通包装</a></div>#}
{#                                    <div class="item"><b></b><a href="#none" title="大礼盒">大礼盒</a></div>#}
{#                                </dd>#}
{#                            </dl>#}
                            <dl>
                                <dt>数量：</dt>
                                <dd class="left">
                                    <div class="Numbers">
                                        <a @click="on_minus" class="jian  ">-</a>
                                        <input v-model="sku_count" @blur="check_sku_count" id="number" name="number" type="text" value="1" class="number_text">
                                        <a @click="on_addition " class="jia  ">+</a>
                                    </div>
                                </dd>
                                <dd class="left Quantity">(库存：{{ good.stock }})</dd>
                            </dl>
                        </div>
                        <div class="product_Quantity">销量：{{ good.sales }}</div>
                        <div class="operating">
                            <a href="{{ url('shoppingcart:carts') }}" class="buy_btn"></a>
                            <a @click="add_cart" class="Join_btn"></a>
                            <a href="#" class="Collect_btn"></a>
                        </div>
                    </div>
                </div>
            {% endfor %}
            <!--信息展示-->
            <div class="mainListRight" id="status1">
                <ul class="fixed_bar" style="">
                    <li class="status_on active"><a href="#status1">产品介绍</a></li>
                    <li class="status_on"><a href="#status2">商品评价<span>(0)</span></a>


                    </li>
                    <li class="status_on"><a href="#shbz">售后服务</a></li>
                    <div v-cloak class="statusBtn" style="display: none;"><a  class="statusBtn1" title="加入购物车"></a></div>
                </ul>

            </div>
        </div>
    </div>
{#    <div id="SOHUCS"></div>#}
{#    <script charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/changyan.js"></script>#}
{#    <script type="text/javascript">#}
{#        window.changyan.api.config({#}
{#            appid: 'cyuAfc9He',#}
{#            conf: 'prod_dcba6195e76d2253a5c8161a9cf4e8eb'#}
{#        });#}
{#    </script>#}
</div>
<!--底部样式-->
<div class="footer">
    <div class="footer_img_bg"></div>
    <div class="footerbox">
        <div class="footer_info">
            <div class="footer_left">
                <a href="#"><img src="/static/images/logo.png"/></a>
                <p class="erwm">
                    <img src="/static/images/erweim.png" width="80px" height="80px"/>
                    <img src="/static/images/erweim.png" width="80px" height="80px"/>
                <p>
            </div>
            <div class="helper_right clearfix">
                <dl>
                    <dt><em class="guide"></em>新手指南</dt>
                    <dd><a href="#">注册新用户</a></dd>
                    <dd><a href="#">实名认证</a></dd>
                    <dd><a href="#">找回密码</a></dd>
                </dl>
                <dl>
                    <dt><em class="h_about"></em>关于我们</dt>
                    <dd><a href="#">关于我们</a></dd>
                    <dd><a href="#">政策服务</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                </dl>
                <dl>
                    <dt><em class="h_conact"></em>联系我们</dt>
                    <dd><a href="#">联系我们</a></dd>
                    <dd><a href="#">在线客服</a></dd>
                </dl>
            </div>
        </div>
    </div>
    <div class=" Copyright ">
        @2015 四川莆田特色馆版权所有
    </div>
</div>
</div>
<script>
    var sku_price = "{{ sku.price }}";
    var category_id = "{{ sku.category_id }}";
    var sku_id = "{{ sku.id }}";
</script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/detail.js"></script>
</body>
</html>
